class UserModel {
  String tokenHost;
  String webHost;
  String mobileHost;
  String communityID;

  UserModel.fromJson(Map<String, dynamic> json)
      : tokenHost = json['tokenHost'],
        webHost = json['webHost'],
        mobileHost = json['mobileHost'],
        communityID = json['communityID'];

  Map<String, dynamic> toJson() => {
        'tokenHost': tokenHost,
        'webHost': webHost,
        'mobileHost': mobileHost,
        'communityID': communityID,
      };

  @override
  String toString() {
    StringBuffer sb = new StringBuffer('{');
    sb.write("\"tokenHost\":\"$tokenHost\"");
    sb.write(",\"webHost\":\"$webHost\"");
    sb.write(",\"mobileHost\":$mobileHost");
    sb.write(",\"communityID\":\"$communityID\"");
    sb.write('}');
    return sb.toString();
  }
}
